<%@ taglib prefix="s" uri="/struts-tags"%>

<s:set name="adminLoginCheck" value="%{#session.adminLogin}" />
	<s:if test="%{#adminLoginCheck!=null}">

<s:form action="adminProductItemEditSave" namespace="/">

	<s:iterator value="product_item">
		
		
		
		<s:select label="Product_line" list="product_lineList" listKey="id"
			listValue="name" value="product_line.getId()" name="yourProduct_line" />
		<br />
		<s:select label="Color" list="colorList" listKey="id"
			listValue="name"  name="yourColor" />
 
		 <s:select label="Size" list="sizeList" listKey="id"
			listValue="name" value="size.getId()" name="yourSize" />
		
		<s:textfield label="Quantity" key="quantity" />
		<s:select label="approval" list="#{'0':'Not Approval', '1':'Approval', '2':'Reject'}" name="approval" value="approval" />
	</s:iterator>
	
	<s:hidden name="id" value="%{id}" />
	<s:submit name="saveChange" value="save">
	</s:submit>
</s:form>

<!-- 
	 -->
<!-- 
	 -->
<!-- 
	 -->
<!-- 
	 -->
<!-- 
	 -->
<!-- 
	 -->
<!-- 
	 -->
<!-- 
	 -->

</s:if>
